package com.small.xx.ai.apidoc.dto;

/**
 * API信息请求DTO
 */
public class ApiInfoRequest {
    
    /**
     * API名称
     */
    private String name;
    
    /**
     * API描述
     */
    private String description;
    
    /**
     * 请求方法 (GET, POST, PUT, DELETE等)
     */
    private String method;
    
    /**
     * API路径
     */
    private String path;
    
    /**
     * 关联的应用服务ID
     */
    private Long appServiceId;
    
    /**
     * 请求参数
     */
    private String requestParams;
    
    /**
     * 请求示例
     */
    private String requestExample;
    
    /**
     * 响应示例
     */
    private String responseExample;
    
    // Constructors
    public ApiInfoRequest() {}
    
    public ApiInfoRequest(String name, String description, String method, String path) {
        this.name = name;
        this.description = description;
        this.method = method;
        this.path = path;
    }
    
    // Getters and Setters
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public String getMethod() {
        return method;
    }
    
    public void setMethod(String method) {
        this.method = method;
    }
    
    public String getPath() {
        return path;
    }
    
    public void setPath(String path) {
        this.path = path;
    }
    
    public Long getAppServiceId() {
        return appServiceId;
    }
    
    public void setAppServiceId(Long appServiceId) {
        this.appServiceId = appServiceId;
    }
    
    public String getRequestParams() {
        return requestParams;
    }
    
    public void setRequestParams(String requestParams) {
        this.requestParams = requestParams;
    }
    
    public String getRequestExample() {
        return requestExample;
    }
    
    public void setRequestExample(String requestExample) {
        this.requestExample = requestExample;
    }
    
    public String getResponseExample() {
        return responseExample;
    }
    
    public void setResponseExample(String responseExample) {
        this.responseExample = responseExample;
    }
}